package com.qiaoanju.service;

import com.qiaoanju.domain.UserDomain;

import java.util.Map;

public interface UserService {

    /**
     *
     * @param id
     * @return
     */
    UserDomain findOne(Long id);

    /**
     *
     * @param user
     * @return
     */
    UserDomain postUser(UserDomain user);

    /**
     *
     * @param map
     * @return
     */
    UserDomain checkUser(Map<String,Object> map);
}
